xml_parser_set_option($xml_parser,XML_OPTION_TARGET_ENCODING, "ISO-8859-1"). It works fine! If your enconding is 'UTF-8', just replace 'ISO-8859-1'. +add a note
2023年9月21日 Adds a single integer constant to the global namespace: XML_OPTION_PARSE_HUGE ( = 5). Intended to be used only inside ext/xml. php.ini Defaults No c...